home *** CD-ROM | disk | FTP | other *** search
- Path: oden.abc.se!usenet
- From: mikes@abc.se (Mikael Stσldal)
- Newsgroups: comp.lang.c++
- Subject: Making your own streambuf classes
- Date: Sat, 06 Apr 1996 17:04:55 GMT
- Organization: ABC-Klubben
- Message-ID: <4k64mu$9v@oden.abc.se>
- NNTP-Posting-Host: pm2-26.abc.se
- X-Newsreader: Forte Free Agent 1.0.82
-
- I'm trying to write some custom streambuf classes for handling other
- kinds of data sources than files and strings. But it's more difficult
- than I expected. Where can I find useful reference documents?
-
- The current problem is how the sync() method should be implemented.
- What it sync() supposed to do? I found a source for filebuf using
- <io.h>, it used lseek() in sync. I'm working with strictly sequencial
- data sources (such as an asynchronous serial port) where you can't do
- something like that.
-
-